﻿using System;
using System.Threading.Tasks;
using Volo.Abp;
using Volo.Abp.Application.Services;
using YaAppoint.Response;

namespace YaAppoint.Appointments.Schedules
{
    /// <summary>
    /// 排班计划服务
    /// </summary>
    [RemoteService(isEnabled: false)]
    public interface IScheduleAppService:IApplicationService
    {
        Task<BackJson> SubmitCreateAsync(CreateScheduleDto dto, Guid depId, Guid deviceTypeId);

        Task<BackJson> SubmitEditAsync(ScheduleDto dto, Guid depId, Guid deviceTypeId);

        Task<BackJson> ToggleDisableAsync(Guid id);

        Task<BackJson> GetAsync(Guid id);

        Task<BackJson> GetListAsync(Guid depId, Guid deviceTypeId, string? filterName);

        Task<BackJson> Delete(Guid id);

    }
}
